package com.jxc.service;

import java.util.List;

import org.jfree.chart.JFreeChart;

import com.jxc.model.po.Fhtj;
import com.jxc.model.vo.DataGrid;
import com.jxc.model.vo.VDeliverlist;
import com.jxc.model.vo.VDeliverlist;

public interface DeliverlistServiceI {

	public Long save(VDeliverlist model);

	public DataGrid datagrid(VDeliverlist model);

	public void delete(String ids);

	public void update(VDeliverlist model);

	public List<VDeliverlist> combobox(VDeliverlist model);

	public List<VDeliverlist> search(VDeliverlist vtl);

	public JFreeChart getDeliverChart(List<Fhtj> list);

	public List<Fhtj> findFhsum(Long id);

	/**分发时更新发货单及明细
	 * @param dlis
	 */
	public void distributeUpdate(String dlis);

	/**
	 * 获取当前用户或当前经销商为处理完的收货
	 * @param upid
	 * @return 
	 */
	public int findUnconfirmDeliverlist(Long upid);

}
